import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service

const request = {
    //根据条件分页查询现场收料
    sceneReceivingList (params) {
        return httpPost({
            url: '/material/siteReceiving/listByEntity',
            params
        })
    },
    //新增现场收料
    AddSiteReceiving (params) {
        return httpPost({
            url: '/material/siteReceiving/create',
            params
        })
    },
    //修改现场收料
    EditSiteReceiving (params) {
        return httpPost({
            url: '/material/siteReceiving/update',
            params
        })
    },
    //新增 修改 删除 现场收料明细
    SiteReceivingList (params) {
        return httpPost({
            url: '/material/siteReceiving/updateList',
            params
        })
    },
    //关联合同
    relevanceConInfo (params) {
        return httpPost({
            url: '/material/siteReceiving/relatedContract',
            params
        })
    },

}

export default request